<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateActivityInfoPartNamesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('activity_info_part_names', function (Blueprint $table) {
            //
            $table->bigInteger('id', true);
            $table->bigInteger('activity_info_id')->comment('activity_info表对应id');
            $table->string('host_name', 255)->comment('主持人员名称');
            $table->string('part_name', 255)->comment('参与人员名称');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('activity_info_part_names');
    }
}
